package com.ruoyi.odorservice.model.vo;

import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OdorousMaterialVo {
    @ApiModelProperty("总数")
    private Integer total;

    @ApiModelProperty("列表数据")
    private List<OdorousMaterialVo.OdorousMaterial> listData;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class OdorousMaterial {
        @ApiModelProperty("物质名称")
        @Excel(name = "物质名称")
        private String materialName;

        @ApiModelProperty("cas号")
        @Excel(name = "cas号")
        private String casNo;

        @ApiModelProperty("物质浓度")
        @Excel(name = "物质浓度")
        private Double materialConcentration;

        @ApiModelProperty("嗅觉阈值")
        @Excel(name = "嗅觉阈值")
        private Double olfactoryThreshold;

        @ApiModelProperty("气味属性")
        @Excel(name = "气味属性")
        private String odorAttribute;

        @ApiModelProperty("点位/企业名称")
        @Excel(name = "点位/企业名称")
        private String siteCompanyName;

        @ApiModelProperty("数据来源")
        @Excel(name = "数据来源")
        private String dataSource;
    }

}
